package com.digital.library.modules.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 图书类
 */
@Data
public class LsBook implements Serializable {
    private static final long serialVersionUID = 7828608055962109728L;

    /*主键*/
    private int id;
    /*书名*/
    private String name;
    /*主编*/
    private String chiefEditor;
    /*责任编辑*/
    private String executiveEditor;
    /*出版社*/
    private String publisher;
    /*经销商*/
    private String distributor;
    /*印刷*/
    private String printer;
    /*开本*/
    private String folio;
    /*张数*/
    private int sheets;
    /*字数*/
    private int words;
    /*版次*/
    private String edition;
    /*印次*/
    private String impression;
    /*定价*/
    private double price;
    /*创建人*/
    private String createBy;
    /*创建时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /*更新人*/
    private String updateBy;
    /*更新时间*/
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
